def get_filetype_from_buffer(buf, max_lines: int = ...): ...
